package com.zxy.ider.ehome.View;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * Created by ider-eric on 2017/6/30.
 */

public class TitleTextView extends TextView {
    public TitleTextView(Context context) {
        super(context);
    }

    public TitleTextView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public TitleTextView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public TitleTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

//    public TitleTextView(Context context, AttributeSet attrs) {
//        super(context, attrs);
//        Typeface tf=Typeface.createFromAsset(context.getAssets(), "right.otf");
//        this.setTypeface(tf);
//    }

    @Override
    public boolean isFocused() {
        return true;
    }
}
